#include "Keyboard.h"

Keyboard::Keyboard(void)
{
	for(int i = 0; i < KEY_LAST; i++)
		keys[i] = false;
}

Keyboard::~Keyboard(void)
{
}


bool Keyboard::keyDown(Key key)
{
	return keys[key];
}

bool Keyboard::keyUp(Key key)
{
	return !keys[key];
}